package com.bsoft.gol.hcb.service.templateSheet.service;

import ctd.controller.exception.ControllerException;
import com.bsoft.gol.hcb.service.templateSheet.entity.TemplateSheet;

/**
 * 基于模版配置的 表单操作
 * @author jinm
 */
public interface TemplateSheetService {

    /**
     * 保存表单
     * @param templateSheet
     * @return
     * @throws ControllerException
     */
    TemplateSheet saveTemplateSheet(TemplateSheet templateSheet) throws ControllerException;

    /**
     * 获取表单详情
     * @param templateSheet
     * @return
     * @throws ControllerException
     */
    TemplateSheet getTemplateSheet(TemplateSheet templateSheet) throws ControllerException;
}
